import fp from 'fastify-plugin';
import { FastifyInstance } from 'fastify';

export default fp(async (fastify: FastifyInstance) => {
  // Simulate a DB connection
  fastify.decorate('db', 'This is fake DB connection');
});
